R6#sh run
Building configuration...

Current configuration : 2474 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R6
!
!
!
!
!
!
ip subnet-zero
ip tcp synwait-time 5
no ip domain-lookup
!
ip reflexive-list timeout 10
isdn switch-type basic-ni
!
crypto isakmp key cisco address 0.0.0.0
!
!
crypto ipsec transform-set R2R6 esp-des
!
crypto dynamic-map R2R6 10
 set transform-set R2R6
 match address 100
!
!
crypto map R2R6a 10 ipsec-isakmp dynamic R2R6 discover
!
!
!
!
interface Loopback0
 ip address 8.6.6.6 255.255.255.255
!
interface Ethernet0
 ip address 202.21.8.6 255.255.255.128
!
interface Serial0
 no ip address
 shutdown
 no fair-queue
!
interface Serial1
 ip address 202.21.8.166 255.255.255.252
 ip access-group incoming in
 crypto map R2R6a
!
interface Serial2
 ip address 202.21.8.170 255.255.255.252
 ip access-group incoming in
 crypto map R2R6a
!
interface Serial3
 ip address 161.8.144.2 255.255.255.252
 ip access-group incoming in
 clockrate 64000
!
interface BRI0
 ip unnumbered Ethernet0
 ip access-group incoming in
 encapsulation ppp
 dialer string 2024
 dialer-group 1
 isdn switch-type basic-ni
 isdn spid1 2023
!
router bgp 86
 bgp router-id 8.6.6.6
 bgp cluster-id 3390376106
 bgp log-neighbor-changes
 network 202.21.8.0 mask 255.255.255.128
 network 202.21.8.164 mask 255.255.255.252
 network 202.21.8.168 mask 255.255.255.252
 neighbor 8.2.2.2 remote-as 8127
 neighbor 8.2.2.2 ebgp-multihop 2
 neighbor 8.2.2.2 update-source Loopback0
 neighbor 8.2.2.2 timers 200 600
 neighbor 8.2.2.2 route-map MED_Out out
 neighbor 161.8.136.7 remote-as 8127
 neighbor 161.8.136.7 ebgp-multihop 2
 neighbor 161.8.136.7 update-source Ethernet0
 neighbor 161.8.144.1 remote-as 89
!
ip classless
ip route 8.2.2.2 255.255.255.255 Serial1
ip route 8.2.2.2 255.255.255.255 Serial2
ip route 161.8.136.7 255.255.255.255 BRI0
ip http server
ip as-path access-list 1 permit ^$
!
!
!
ip access-list extended incoming
 permit tcp any any eq bgp
 permit tcp any eq bgp any
 permit esp any any
 permit ahp any any
 permit udp any any eq isakmp
 evaluate outgoing
ip access-list extended outdef
 permit tcp 202.21.8.0 0.0.0.127 any reflect outgoing
 permit udp 202.21.8.0 0.0.0.127 any reflect outgoing
access-list 100 permit icmp 202.21.8.0 0.0.0.127 161.8.136.0 0.0.0.127
access-list 100 permit icmp 161.8.136.0 0.0.0.127 202.21.8.0 0.0.0.127
dialer-list 1 protocol ip permit
route-map MED_Out permit 10
 match as-path 1
 set metric 250
!
!
!
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line aux 0
line vty 0 4
!
end

R6#